package dtaskboard.client.dto;

import java.io.Serializable;

import com.google.gwt.user.client.rpc.IsSerializable;


public class RoleDTO implements Serializable, IsSerializable {

  private static final long serialVersionUID = 8041121418381688691L;

  private String role;
  private String project;

  public RoleDTO() {
    // doea nothing
  }

  public RoleDTO(RoleClass role, String project) {
    this.role = role.name();
    this.project = project;
  }

  public String getRole() {
    return this.role;
  }

  public String getProject() {
    return this.project;
  }

  public void setRole(String role) {
    this.role = role;
  }

  public void setProject(String project) {
    this.project = project;
  }
}
